package org.imaginedays.java.design.patter.decorator;

public class DecoratorNew {
	
	private Component component;

	public DecoratorNew(Component component) {
		super();
		this.component = component;
	}
	
	public void operation(){
		if (component!=null) {
			component.operation();
		}
	}
	
	

}
